package com.wyz.socket.core.api;

import com.wyz.socket.core.base.ProviderCallback;

import java.io.Closeable;
import java.nio.channels.SocketChannel;

public interface IoProvider extends Closeable {

    void register(ProviderCallback callback) throws Exception;

    void unregister(SocketChannel channel);

}
